﻿using System;
using System.Collections.Generic;
using System.Configuration;
using System.Data;
using System.Linq;
using System.Windows;

namespace Pavilion.DesignerTool
{
    /// <summary>
    /// Interaction logic for App.xaml
    /// </summary>
    public partial class App : Application
    {
        protected override void OnStartup(StartupEventArgs e)
        {
            base.OnStartup(e);

            //BuildContent();
            //Engine engine = new Engine();
            //engine.Run();
            MainWindow mainWindow = new MainWindow();
            mainWindow.Show();
        }

        private void BuildContent()
        {
            ContentBuilder contentBuilder = new ContentBuilder();
            contentBuilder.ConvertEnvironment();
            contentBuilder.ConvertAnimations();
            //contentBuilder.Add(@"C:\Users\vahid.rujevic\Desktop\Vrujevic\Game Development\The Farthest Land Directory\PavilionDesignerTool\Pavilion.DesignerTool\Content\GameResources\Animations\Zlata\Raw Data\StanceHigh\0-0.png",
            //    "0-0", null, null);
            //contentBuilder.Build();
        }
    }
}
